window: default_icon_name can be null
authorBilal Elmoussaoui <bil.elmoussaoui@gmail.com>
Tue, 24 Nov 2020 16:35:46 +0000 (17:35 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 2 Dec 2020 15:00:18 +0000 (10:00 -0500)
gtk/gtkwindow.c

index 2b3a7ca74147ff60698972823989ed07de654390..996e09c64b67d51c49bcfabc2b0cfb27c83f3c4d 100644 (file)
@@ -3283,12 +3283,13 @@ gtk_window_set_default_icon_name (const char *name)
  * gtk_window_get_default_icon_name:
  *
  * Returns the fallback icon name for windows that has been set
- * with gtk_window_set_default_icon_name(). The returned
- * string is owned by GTK and should not be modified. It
- * is only valid until the next call to
- * gtk_window_set_default_icon_name().
+ * with gtk_window_set_default_icon_name(), or %NULL if that function
+ * has not been called.
  *
- * Returns: the fallback icon name for windows
+ * The returned string is owned by GTK and should not be modified.
+ * It is only valid until the next call to gtk_window_set_default_icon_name().
+ *
+ * Returns: (nullable): the fallback icon name for windows
  */
 const char *
 gtk_window_get_default_icon_name (void)